#if !defined(AFX_DLGMATERIALTABLE_H__78FC5EE7_D957_4407_9E9C_3EB6CEB1DE92__INCLUDED_)
#define AFX_DLGMATERIALTABLE_H__78FC5EE7_D957_4407_9E9C_3EB6CEB1DE92__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgMaterialTable.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgMaterialTable dialog
#include "resource.h"
#include "uelist.h"
#include "ueitem.h"

class CDlgMaterialTable : public CDialog
{
// Construction
public:
	CString dlg_mat_name;
	CUeList dlg_mat_list;
	CUeList dlg_data_list;
	CUeList dlg_all_data_list;
	CUeList dlg_number_list;
	CDlgMaterialTable(CWnd* pParent = NULL);   // standard constructor

	CUeList dlg_set_mat_list;

// Dialog Data
	//{{AFX_DATA(CDlgMaterialTable)
	enum { IDD = IDD_DLG_MATERIALTABLE };
	CListCtrl	m_ctrlmatlist;
	CComboBox	m_ctrlCatno;
	CComboBox	m_ctrlWeight;
	CComboBox	m_ctrlSpec;
	CComboBox	m_ctrlNumber;
	CComboBox	m_ctrlName;
	CComboBox	m_ctrlMau;
	CComboBox	m_ctrlMaterial;
	CComboBox	m_ctrlComment;
	CString	m_strCatno;
	CString	m_strComment;
	CString	m_strMaterial;
	CString	m_strMau;
	CString	m_strName;
	CString	m_strSpec;
	double	m_dWeight;
	double	m_dNumber;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgMaterialTable)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgMaterialTable)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeComboCatno();
	afx_msg void OnSelchangeComboName();
	afx_msg void OnSelchangeComboSpec();
	afx_msg void OnSelchangeComboMaterial();
	afx_msg void OnSelchangeComboWeight();
	afx_msg void OnSelchangeComboNumber();
	afx_msg void OnSelchangeComboFactory();
	afx_msg void OnSelchangeComboCommend();
	virtual void OnOK();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGMATERIALTABLE_H__78FC5EE7_D957_4407_9E9C_3EB6CEB1DE92__INCLUDED_)
